<!doctype html>
<html class="no-js" lang="zh_cn">

<head>
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <meta charset="utf-8">

      <!-- Page Title Here -->
      <title>叶鲲 & 明倩</title>

      <!-- Page Description Here -->
      <meta name="description" content="叶鲲 & 明倩">

      <!-- Disable screen scaling-->
      <meta name="viewport"
            content="width=device-width, user-scalable=no, initial-scale=1, maximum-scale=1, user-scalable=0">

      <!-- Place favicon.ico and apple-touch-icon(s) in the root directory -->

      <!-- Initializer -->
      <link rel="stylesheet" href="css/normalize.css">

      <!-- Web fonts and Web Icons -->
      <link rel="stylesheet" href="css/pageloader.css">
      <link rel="stylesheet" href="fonts/opensans/stylesheet.css">
      <link rel="stylesheet" href="fonts/asap/stylesheet.css">
      <link rel="stylesheet" href="css/ionicons.min.css">

      <!-- Vendor CSS style -->
      <link rel="stylesheet" href="css/foundation.min.css">
      <link rel="stylesheet" href="js/vendor/jquery.fullPage.css">
      <link rel="stylesheet" href="js/vegas/vegas.min.css">

      <!-- Main CSS files -->
      <link rel="stylesheet" href="css/main.css">
      <link rel="stylesheet" href="css/main_responsive.css">
      <link rel="stylesheet" href="css/style-color1.css">
      <script src="js/vendor/modernizr-2.7.1.min.js"></script>
      <style>
            #jp_container_1 {
                  position: fixed;
                  top: 5%;
                  left: 2%
            }
            @media(max-width:400px){
                  #jp_container_1{
                        top:0;
                  }
            }

            #jp_container_1 a {
                  font-size: 26px;
                  color: #ffffff
            }

            #jp_container_1 a:hover {
                  color: #f4645f
            }
      </style>
</head>

<body id="menu" class="alt-bg">
      <!--[if lt IE 8]>
	<p class="browsehappy">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> to improve your experience.</p>
<![endif]-->

      <!-- Page Loader -->
      <div class="page-loader" id="page-loader">
            <div><i class="ion ion-loading-d"></i>
                  <p>美丽值得期待...</p>
            </div>
      </div>

      <!-- BEGIN OF site cover -->
      <div class="page-cover" id="s-cover">
            <!-- Cover Background -->
            <div class="cover-bg pos-abs full-size bg-img" data-image-src="img/bg-slide3.jpg"></div>

            <!-- BEGIN OF Slideshow Background -->
            <div class="cover-bg pos-abs full-size slide-show"> <i class='img' data-src='img/bg-slide3.jpg'></i> <i
                        class='img' data-src='img/bg-slide2.jpg'></i> <i class='img' data-src='img/bg-slide1.jpg'></i>
            </div>
            <!-- END OF Slideshow Background -->

            <div class="cover-bg-mask pos-abs full-size bg-color" data-bgcolor="rgba(0, 0, 0, 0.41)"></div>
      </div>
      <!--END OF site Cover -->

      <!-- Begin of timer pane -->
      <div class="pane-when " id="s-when">
            <div class="content">
                  <!-- Clock -->
                  <div class="clock clock-countdown">
                        <div class="site-config" data-date="2/14/2021 11:00:00" data-date-timezone="+8"></div>
                        <div class="elem-center">
                              <div class="digit"> <span class="days">41</span> <span class="txt">天</span> </div>
                        </div>
                        <div class="elem-bottom">
                              <div class="deco"></div>

                              <!--						<span class="days">12</span><span class="thin">D</span>-->
                              <span class="hours">18</span><span class="thin">小时</span> <span
                                    class="minutes">45</span><span class="thin">分钟</span> <span
                                    class="seconds">36</span><span class="thin">秒</span>
                        </div>
                  </div>
                  <footer>
                        <p><strong>2021年02月14日</strong></p>
                  </footer>
            </div>
      </div>
      <!-- End of timer pane -->

      <!-- BEGIN OF site main content content here -->
      <main class="page-main" id="mainpage">

            <!-- Begin of home page -->
            <div class="section page-home page page-cent" id="s-home">

                  <!-- Content -->
                  <section class="content">
                        <header class="header">
                              <div class="h-left">
                                    <h2>诚邀<strong>见证</strong></h2>
                              </div>
                              <div class="h-right" style="min-width:300px">
                                    <h3 style="max-width:300px">叶鲲 & 明倩<br>&nbsp;</h3>
                                    <h4 class="subhead"><a href="#register">婚礼庆典</a></h4>
                              </div>
                        </header>
                        <div style="position:fixed;bottom:5px;left:5px;">
                              <img src='img/33.png' style="width:40px;">
                        </div>
                  </section>
                  <!-- Scroll down button -->
                  <footer class="p-footer p-scrolldown"> <a href="#register">
                              <div class="arrow-d">
                                    <div class="before">Scroll</div>
                                    <div class="after">Down</div>
                                    <div class="circle"><i class="ion ion-mouse"></i></div>
                              </div>
                        </a> </footer>
            </div>
            <!-- End of home page -->

            <!-- Begin of register page -->
            <div class="section page-register page page-cent" id="s-register">
                  <section class="content">
                        <header class="p-title">
                              <h3>庆宴时间：<i class="ion ion-compose"></i></h3>
                              <h4 class="subhead">2021年02月14日</h4>
                        </header>
                        <div>
                              <div id="mail-subscription" class="form magic send_email_form">
                                    <p class="invite"><br />
                                          请在下方输入到场宾客姓名我们将提前为您安排坐席：</p>
                                    <div class="fields clearfix">
                                          <div class="input">
                                                <label for="reg-people">姓名： </label>
                                                <input id="reg-people" class="email_f" name="people" type="text" required
                                                      placeholder="嘉宾姓名" data-validation-type="text">
                                          </div>
                                          <div class="buttons">
                                                <button id="submit-people" class="button email_b"
                                                      name="submit_people">确认</button>
                                          </div>
                                    </div>
                                    <p class="email-ok invisible"><strong>等一场千年雨歇，侯一人如约而至！</strong> </p>
                              </div>
                        </div>
                  </section>
                  <footer class="p-footer p-scrolldown"> <a href="#about-us">
                              <div class="arrow-d">
                                    <div class="before">About</div>
                                    <div class="after">Lorem</div>
                                    <div class="circle"><i class="ion ion-mouse"></i></div>
                              </div>
                        </a> </footer>
            </div>
            <!-- End of register page -->

            <!-- Begin of about us page -->
            <div class="section page-about page page-cent" id="s-about-us">
                  <section class="content">
                        <header class="p-title">
                              <h3>关于我们 <i class="ion ion-android-information"> </i> </h3>
                              <h4 class="subhead">相互扶持，共同成长，长长久久</h4>
                              <h4 class="subhead">小酒窝 长睫毛 迷人的无可救药。</h4>
                        </header>
                        <!--article class="text">
                        <p>花径不曾缘客扫，蓬门今始为君开。　</p>
                        <p>盘飧市远无兼味，樽酒家贫只旧醅。 </p>
                    </article-->
                  </section>
                  <footer class="p-footer p-scrolldown"> <a href="#contact">
                              <div class="arrow-d">
                                    <div class="before">Contact</div>
                                    <div class="after">Message</div>
                                    <div class="circle"><i class="ion ion-mouse"></i></div>
                              </div>
                        </a> </footer>
            </div>
            <!-- End of about us page -->

            <!-- Begin of Contact page   -->
            <div class="section page-contact page page-cent  bg-color" data-bgcolor="rgba(95, 25, 208, 0.88)s"
                  id="s-contact">
                  <!-- Begin of contact information -->
                  <div class="slide" id="s-information" data-anchor="information">
                        <section class="content">
                              <header class="p-title">
                                    <h3>地址<i class="ion ion-location"> </i> </h3>
                                    <ul class="buttons">
                                          <li class="show-for-medium-up"> <a title="About" href="#about-us"><i
                                                            class="ion ion-android-information"></i></a> </li>
                                          <li> <a title="Message" href="#contact/message"><i
                                                            class="ion ion-email"></i></a> </li>
                                    </ul>
                              </header>
                              <!-- Begin Of Page SubSction -->
                              <div class="contact">
                                    <div class="row">
                                          <div class="medium-6 columns left">
                                                <ul>
                                                      <li>
                                                            <h4>宴会地点：</h4>
                                                            <p>凤凰山庄 - 凤凰厅</p>
                                                      </li>
                                                      <li>
                                                            <h4>地址：</h4>
                                                            <p>鄂城区 凤凰路 56号</p>
                                                      </li>
                                                      <li>
                                                            <h4>日期：</h4>
                                                            <p>2021年02月14日 11:30</p>
                                                      </li>
                                                </ul>
                                          </div>
                                          <div class="medium-6 columns social-links right">
                                                <ul>

                                                      <!-- legal notice -->
                                                      <li class="show-for-medium-up">
                                                            <h4>查看地图</h4>
                                                            <p><a href="https://map.baidu.com/poi/%E5%87%A4%E5%87%B0%E5%B1%B1%E5%BA%84/@12791536.805218643,3532896.7440046035,18.63z?uid=e99e13b87455260aeedfcac5&ugc_type=3&ugc_ver=1&device_ratio=1&compat=1&querytype=detailConInfo&da_src=shareurl"
                                                                        target="_blank">点击查看在线地图</a></p>
                                                      </li>
                                                      <!--li  class="show-for-medium-up">
											<h4>Find us on</h4>
											<!-- Begin of Social links -->
                                                      <!--div class="socialnet">
												<a href="#"><i class="ion ion-social-facebook"></i></a>
												<a href="#"><i class="ion ion-social-instagram"></i></a>
												<a href="#"><i class="ion ion-social-twitter"></i></a>
												<a href="#"><i class="ion ion-social-pinterest"></i></a>
												<a href="#"><i class="ion ion-social-tumblr"></i></a>
											</div>
											<!-- End of Social links -->
                                                      </li>
                                                      <li>
                                                            <!--p><img src="img/logo_large.png" alt="Logo" class="logo"></p-->
                                                            <p class="small"><strong>期待您的到场！</strong></p>
                                                      </li>
                                                </ul>
                                          </div>
                                    </div>
                              </div>
                              <!-- End of page SubSection -->
                        </section>
                  </div>
                  <!-- end of contact information -->

                  <!-- begin of contact message -->
                  <div class="slide" id="s-message" data-anchor="message">
                        <section class="content">
                              <header class="p-title">
                                    <h3>宾客寄语：<i class="ion ion-email"> </i> </h3>
                                    <ul class="buttons">
                                          <li class="show-for-medium-up"> <a title="About" href="#about-us"><i
                                                            class="ion ion-android-information"></i></a> </li>
                                          <li> <a title="Contact" href="#contact/information"><i
                                                            class="ion ion-location"></i></a> </li>
                                          <!--<li>
									<a title="Message" href="#contact/message"><i class="ion ion-email"></i></a>
								</li>-->
                                    </ul>
                              </header>
                              <!-- Begin Of Page SubSction -->

                              <div class="page-block c-right v-zoomIn">
                                    <div class="wrapper">
                                          <div>
                                                <div class="message form send_message_form">
                                                      <div class="fields clearfix">
                                                            <div class="input">
                                                                  <label for="mes-name">姓名</label>
                                                                  <input id="mes-name" name="name" type="text"
                                                                        placeholder="您的名字" required>
                                                            </div>
                                                            <div class="buttons">
                                                                  <button id="submit-message2" class="button email_b">发送</button>
                                                            </div>
                                                      </div>
                                                      <div class="fields clearfix">
                                                            <div class="input">
                                                                  <label for="mes-tel">手机： </label>
                                                                  <input id="mes-tel" type="text" placeholder="手机号"
                                                                        name="tel" required>
                                                            </div>
                                                      </div>
                                                      <div class="fields clearfix no-border">
                                                            <label for="mes-message">留言： </label>
                                                            <textarea id="mes-message" maxlength="30" placeholder="您写下的祝福将被送出"
                                                                  name="message" required></textarea>
                                                            <div>
                                                                  <p class="message-ok invisible">您的祝福已经送出，谢谢！.</p>
                                                            </div>
                                                      </div>
                                                </div>
                                          </div>
                                    </div>
                              </div>
                              <!-- End Of Page SubSction -->
                        </section>
                  </div>
                  <!-- End of contact message -->
            </div>
            <!-- End of Contact page  -->

      </main>
      <script src="js/jquery.min.js"></script>
      <!-- All vendor scripts -->
      <script src="js/vendor/all.js"></script>

      <!-- Downcount JS -->
      <script src="js/jquery.downCount.js"></script>

      <!-- Form script -->
      <script src="js/form_script.js"></script>

      <!-- Javascript main files -->
      <script src="js/main.js"></script>
      <script type="text/javascript" src="js/jquery.jplayer.min.js"></script>
      <script type="text/javascript">
            $(document).ready(function () {
                  $("#jquery_jplayer_1").jPlayer({
                        ready: function () {
                              $(this).jPlayer("setMedia", {
                                    mp3: "music.mp3",

                              })//.jPlayer("play");
                        },
                        ended: function () { // The $.jPlayer.event.ended event
                              $(this).jPlayer("play"); // Repeat the media
                        },
                        swfPath: "/js",
                        supplied: "mp3"
                  });
            });
      </script>
      <div id="jquery_jplayer_1"></div>
      <div id="jp_container_1"> <a href="#" class="jp-play">
                  <li class="ion-music-note" data-pack="default" data-tags="songs"></li>
            </a> <a href="#" class="jp-pause">
                  <li class="ion-headphone" data-pack="default" data-tags="music, earbuds, beats"></li>
            </a> </div>

      <div class="js-messages" style="white-space: nowrap; width: 100vw;height: 48px;position:fixed; top:0; left:0; z-index:99999;">
      </div>
</body>

</html>
<script>
$(function(){
      $("#submit-message2").on("click",function(){
            if(!$("#mes-message").val()){
                  Eckes.msg({text:"请填写一句祝福语",noIcon:true})
                  return;
            }
            $.ajax({
                  url:"/eckes_admin/php/api/marry_message_set.php",
                  method:"POST",
                  //contentType:"application/json;charset=utf-8",
                  data:JSON.stringify({
                        name:$("#mes-name").val()||"匿名",
                        tel:$("#mes-tel").val()||"未填写tel",
                        message:$("#mes-message").val()||"未填写message",

                  }),
                  success(res){
                        res = JSON.parse(res);
                        Eckes.msg({text:res.message,noIcon:true});

                        $("#mes-name").val("");
                        $("#mes-tel").val("");
                        $("#mes-message").val("");
                  },
                  error(e){
                        console.log(e);
                  }
            })
      });
      $("#submit-people").on("click",function(){
            if(!$("#reg-people").val()){
                  Eckes.msg({text:"请填写名字",noIcon:true})
                  return;
            }
            $.ajax({
                  url:"/eckes_admin/php/api/marry_people_set.php",
                  method:"POST",
                  //contentType:"application/json;charset=utf-8",
                  data:JSON.stringify({
                        name:$("#reg-people").val()||"----"
                  }),
                  success(res){
                        res = JSON.parse(res);
                        $("#reg-people").val("")
                        Eckes.msg({text:res.message,noIcon:true})
                  },
                  error(e){
                        console.log(e);
                  }
            })
      });

      var jsm =  $(".js-messages");
      var time = $("body").width()>768?8000:4000;
      var list = [];
      function iv(list1){
            var arr = [].concat(list1);
            if(arr.length>0){
                  var m = $("<span class='msg-item' style='color:white;position:absolute; left:100%; line-height:48px; top:0;'>"+arr[0].message+"</span>")
                  jsm.append(m);
                  m.animate({
                        left:'-'+m.width()+'px'
                  },time,"linear",function(){
                        m.remove();
                        arr.shift();
                        iv(arr)
                  })
            }else{
                  setTimeout(function(){
                        iv(list);
                  },2000)
            }
      }
      $.ajax({
            url:"/eckes_admin/php/api/marry_message.php",
            success(res){
                  res = JSON.parse(res);
                  list = res.data;
                  if(list.length>0){
                        iv(list);
                  }
            },
      })
      ; (function () {

            var ua = navigator.userAgent.toLowerCase();
            if(ua.match(/MicroMessenger/i)=="micromessenger") {
                //ios的ua中无miniProgram，但都有MicroMessenger（表示是微信浏览器）
               $('.page-cent .content, .page-about .content').css({"paddingBottom":"128px"})
            }

      })();
})
</script>